
#include "window_manager.h"
#include "window.h"

WMWindow::WMWindow(Window win, Display *d){
		m_xwindow = win;
                p_display = d;
	/*	win = XCreateSimpleWindow(display,
						RootWindow(display, screen_num),
						win_x, win_y,
						win_width, win_height,
						win_border_width, BlackPixel(display, screen_num),
						WhitePixel(display, screen_num));
*/
}

WMWindow::~WMWindow(){

}


void WMWindow::resize(int width, int height)
{
		XResizeWindow(p_display, m_xwindow, width, height);
}

void WMWindow::move(int x, int y)
{
		XMoveWindow(p_display, m_xwindow, x, y);
}
